package com.kevis.zhunblog.service;

import com.github.pagehelper.PageInfo;
import com.kevis.zhunblog.core.dto.PageDomain;
import com.kevis.zhunblog.core.dto.query.CommonClassQuery;
import com.kevis.zhunblog.core.entities.ClassArticleEntity;

import java.util.List;

/**
 * 文章分类
 */
public interface ClassArticleService extends CommonClassService<ClassArticleEntity>
{
    //IService<ClassArticleEntity> {
    PageInfo<ClassArticleEntity> getPageList(CommonClassQuery query, PageDomain pageDomain);

    //List<ClassArticleEntity> listData(ClassArticleEntity c);

    List<ClassArticleEntity> selectByParentId(Integer id);

    boolean remove(String id);

    void clearCache(String cacheName,String chaheKey);
}
